/*
 *  Copyright 2022 Collate.
 *  Licensed under the Apache License, Version 2.0 (the "License");
 *  you may not use this file except in compliance with the License.
 *  You may obtain a copy of the License at
 *  http://www.apache.org/licenses/LICENSE-2.0
 *  Unless required by applicable law or agreed to in writing, software
 *  distributed under the License is distributed on an "AS IS" BASIS,
 *  WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 *  See the License for the specific language governing permissions and
 *  limitations under the License.
 */

@box-shadow-color: rgba(0, 0, 0, 0.06);
@left-panel-border-color: rgb(229, 231, 235);
@manage-button-bg-primary: #0079ff;
@manage-dropdown-bg-primary: #d9ceee;
@white: #ffffff;

.display-name {
  .ant-typography {
    margin-bottom: 0;
  }
  .ant-btn {
    padding: 0px;
  }
}

.input-width {
  width: 100%;
}

.edit-input {
  padding: 0 0 8px;
}

.icon-buttons {
  padding: 0.2rem 0.2rem;
  border-radius: 0.2rem;
  margin-right: 0.3rem;
}

.manage-button {
  .ant-space-item:first-child {
    width: 40px;
    align-self: baseline;
  }
}

.glossary-manage-dropdown-list-container {
  .ant-dropdown-menu {
    padding: 8px 0px;
    background: @white;
    border: 1px solid #dde3ea;
    box-shadow: 1px 1px 3px rgb(0 0 0 / 12%);
    border-radius: 4px;
    .ant-dropdown-menu-item {
      padding: 5px 16px;
    }
  }
}

.glossary-tree-container {
  .ant-tree-node-content-wrapper {
    overflow: hidden;
    white-space: nowrap;
    gap: 4px;
  }

  .ant-tree-title {
    width: calc(100% - 8px);
  }
}

.glossary-header-edit-btn {
  height: 16px;
  width: 16px;
}

.glossary-name-column {
  white-space: nowrap;
}

.ant-table-row-indent {
  float: none;
  display: inline-block;
}
